package day6;

/**
 * @author oldliu
 * @since 1.0
 */
public class Twod {
    public static void main(String[] args) {
        //二维数组
        int [][]ar=new int[3][5];
        int [][]a2={{1,2},{2,3},{5,6}};
        for (int i = 0; i < ar.length; i++) {
            for (int j = 0; j < ar[i].length; j++) {
                ar[i][j]=(int)(Math.random()*1000);
            }
        }
        for (int i = 0; i < ar.length; i++) {
            for (int j = 0; j < ar[i].length; j++) {
                System.out.print(ar[i][j]+" ");
            }
            System.out.println();
        }
    }
}
